﻿@model ForcedPasswordChangeModel

@{
    Layout = "~/admin/Templates/LoginAdministration.cshtml";
    ViewBag.Title = "Force password change";
}

@using (Html.BeginForm()) {
@Html.AntiForgeryToken(CmsAccountController.LogonSalt)
<fieldset class="b-form b-form_login">
	<h2>Password change</h2>
    <p>You have logged in with an automated password. For security reasons we request that you change your password to something more memorable.</p>

	@Html.ValidationSummary("", new {@class="password-reset__error" })	
    
    <ol class="b-form__rows ul-reset g-clear">		
		<li class="b-form__row g-clear">
			@Html.LabelFor(p => p.NewPassword)
			@Html.PasswordFor(p => p.NewPassword, new { @class = "text" })
		</li>
		<li class="b-form__row g-clear">
			@Html.LabelFor(p => p.RepeatPassword)
			@Html.PasswordFor(p => p.RepeatPassword, new { @class = "text" })			
		</li>
		<li class="b-form__row">
			<input class="b-button" id="btnSave" name="btnSave" type="submit" value="Save" />
		</li>
	</ol>
</fieldset>
}    